var express = require('express');
var router = express.Router();



var Host = "";

router.use(function (req, res, next) {
  Host = "http://" + req.headers.host;
  next();
})



/* GET users listing. */
router.get('/', function(req, res, next) {
  res.render("admin/index",{
      host:Host
  })
});


module.exports = router;